﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    /// 原材料表
    ///</summary>
    [SugarTable("sys_rawmaterial")]
    public class SysRawmaterial
    {
        /// <summary>
        /// 主键
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 材料名称
        ///</summary>
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }

        /// <summary>
        /// 材料规格
        ///</summary>
        [SugarColumn(ColumnName = "specifications")]
        public string Specifications { get; set; }

        /// <summary>
        /// 库存
        ///</summary>
        [SugarColumn(ColumnName = "stock")]
        public string Stock { get; set; }

        /// <summary>
        /// 创建人
        ///</summary>
        [SugarColumn(ColumnName = "Creator")]
        public string Creator { get; set; }

        /// <summary>
        /// 添加时间
        ///</summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime CreateDate { get; set; }
    }
}